<!doctype html>
<html class="no-js">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <title>让租房更简单</title>
  <meta name="description" content="">
  <meta name="keywords" content="">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
  <meta name="renderer" content="webkit">
  <meta http-equiv="Cache-Control" content="no-siteapp" />
  
  <link rel="stylesheet" href="/addons/yuzubang_1/template/mobile/css/amazeui.min.css">
  <script src="/addons/yuzubang_1/template/mobile/js/jquery.min.js"></script>
  <script src="/addons/yuzubang_1/template/mobile/js/amazeui.min.js"></script>
  <link rel="stylesheet" href="/addons/yuzubang_1/template/mobile/css/app.css">
</head>
<body>
<!-- Header -->
<header data-am-widget="header" class="am-header am-header-default">
	  <h1 class="am-header-title">
	    <a href="#title-link">首页</a>
	  </h1>
</header>

<div>
	<a href="#"><img src="/addons/yuzubang_1/template/mobile/i/banner.jpg" width='100%' /></a>
</div>
<div style="padding:2rem 5%;background-color: white; overflow: hidden;clear: both;font-size: 14px;margin-bottom: 1.5rem;">
	<a href="{php echo $this->createMobileUrl('house', array('rent'=>'0'));}" style="color: black;"><div class="main_icon_div"><span class="main_icon_span1"></span>整租房源</div></a>
	<a href="{php echo $this->createMobileUrl('house', array('rent'=>'1'));}" style="color: black;"><div class="main_icon_div"><span class="main_icon_span2"></span>合租房源</div></a>
	<a href="#" style="color: black;"><div class="main_icon_div"><span class="main_icon_span3"></span>品牌公寓</div></a>
	<a href="#" style="color: black;"><div class="main_icon_div"><span class="main_icon_span4"></span>转租专区</div></a>
	<a href="#" style="color: black;"><div class="main_icon_div mt2"><span class="main_icon_span5"></span>签约</div></a>
	<a href="#" style="color: black;"><div class="main_icon_div mt2"><span class="main_icon_span6"></span>交租</div></a>
	<a onclick="wait()" style="color: black;"><div class="main_icon_div mt2"><span class="main_icon_span7"></span>悬赏找房</div></a>
	<a href="#" style="color: black;"><div class="main_icon_div mt2"><span class="main_icon_span8"></span>个人中心</div></a>
</div>

<div style="margin-bottom: 60px;">
	{if !empty($data)}
	{loop $data $k $vo}
		<div style="margin-bottom: 1px; padding: 1rem;background-color: white;clear: both;overflow: hidden;">
			<a href="{php echo $this->createMobileUrl('house', array('op'=>'detail', 'hid'=>$vo['id']));}">
				<div class='' style='width: 30%;float: left;'>
					<img src="{php echo tomedia($vo['imgs'][0]);}" width="100%"/>
				</div>
				<div class='' style='width: 70%;float: left; padding-left:10px; font-size:14px;'>
					<div><b style='color:#666;'>{$vo['village_name']}</b></div>
					<div class='am-cf' style='margin-top:0px;'>
						<div class='am-fl' style='font-size:12px; color:#9c9c9c; line-height:30px;'>{$vo['rooms']}室{$vo['hall']}厅{$vo['toilet']}卫 </div>	
						<div class='am-fr' style="color: #9c9c9c;"><span style='font-size:18px; color:#fb4b00;'>{$vo['rental']}</span>&nbsp;<span style="font-size: 12px;">元/月</span></div>
					</div>
					
					 <div class='am-cf' style='margin-top:0px;'>
						<span style='font-size:12px; color:#9c9c9c;'>{$vo['area']}m<sup>2</sup></span>
					</div>
				</div>
			</a>
		</div>
	{/loop}
	{else}
		<p style='text-align:center;'>暂无房源！</p>
	{/if}
</div>

<div style="width: 100%;overflow: hidden;clear: both;text-align: center;padding-bottom: 5px;position: fixed;bottom: 0;background-color: #f8f8f8; border-top:1px solid #9f9f9f;">
	<a href="{php echo $this->createMobileUrl('index');}" style="width: 50%;float: left;display: block;font-size: 12px;color: #fb4b00;"><div class="foot_home_cur"></div>首页</a>

	<a href="{php echo $this->createMobileUrl('house');}" style="width: 50%;float: left;display: block;font-size: 12px;color: #fb4b00;"><div class="foot_house_cur"></div>找房</a>

</div>

<div class="am-modal am-modal-alert" tabindex="-1" id="mz_alert">
  <div class="am-modal-dialog">
    <div class="am-modal-hd"></div>
    <div class="am-modal-bd">
    </div>
    <div class="am-modal-footer">
      <span class="am-modal-btn">确定</span>
    </div>
  </div>
</div>

<div class="am-popup" id="mz_popup">
  <div class="am-popup-inner">
    <div class="am-popup-hd">
      <h4 class="am-popup-title">...</h4>
      <span data-am-modal-close
            class="am-close">&times;</span>
    </div>
    <div class="am-popup-bd">
      ...
    </div>
  </div>
</div>

<script src="/addons/yuzubang_1/template/mobile/js/app.js"></script>
</body>
</html>
